package com.iamback.dy.mapper;


import java.util.List;
import java.util.Map;

import com.iamback.dy.entity.ContentUnreviewed;
import org.apache.ibatis.annotations.Param;

public interface ContentUnreviewedMapper {

	ContentUnreviewed getById(@Param("contentId") int contentId);

	List<ContentUnreviewed> getTaskContentUnreviewed();
	
	void updateTaskContentUnreviewed(List<Long> ids); 

	List<ContentUnreviewed> getContentUnreviewedByTask(Long lastContentId);
	
	void updateContentUnrevieweByStatus(Map<String, Object> map);

	Integer countTakePassByDyId(String dyId);

	Integer countTakeByDyId(String dyId);

	/**
	 * 删除帖子
	 * @param dyContentId
	 */
	void deleteDyContent(Long dyContentId);
}
